package compiler;

import org.antlr.stringtemplate.*;
import org.antlr.stringtemplate.language.*;

/**
 * @author meemo
 */
public class NewClass {
    public static void main(String[] args)
    {

        StringTemplate hello = new StringTemplate("hello $friends; separator=\", \"$",
                DefaultTemplateLexer.class);
        hello.setAttribute("friends", "samy");
        hello.setAttribute("friends", "nabil");
        System.out.println(hello.toString());

    }
}
